/**
 * @file STL_Utils.h
 * @author your name (you@domain.com)
 * @brief 
 * @version 0.1
 * @date 2021-07-26
 * 
 * @copyright Copyright (c) 2021
 * 
 */

#include "STL_Tools.h"

#define STL_STATIC_LOCAL_INT(varName, maxValue)     \
    static int varName;                             \
    if (varName > maxValue || varName > 0x7fffffff) \
    {                                               \
        varName = 1;                                \
    }